/**
 * 自动生成！请勿修改！
 */
import { command } from '../core/command';

class SmartToilet {
    static categoryCode = '010040010';

    static categoryName = '智能马桶';

    device = {};

    opts = {};

    _to = undefined;

    constructor(opt = {}) {
        const { device, to, ...opts } = opt;

        this.device = device;
        this.opts = opts;
        this._to = to;
    }

    get categoryCode() {
        return SmartToilet.categoryCode;
    }

    get categoryName() {
        return SmartToilet.categoryName;
    }

    getAutoFlipLid(params) {
        return command({
            method: 'getAutoFlipLid',
            methodId: 'Unfc9F83',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getAutoFlipRing(params) {
        return command({
            method: 'getAutoFlipRing',
            methodId: 'pWG0Kt4V',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getCurrentTemperature(params) {
        return command({
            method: 'getCurrentTemperature',
            methodId: 'UUUlpedK',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDeodorization(params) {
        return command({
            method: 'getDeodorization',
            methodId: 'UZ6IQ6Pl',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDisinfect(params) {
        return command({
            method: 'getDisinfect',
            methodId: 'UmaSzfHG',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDryingRemainingTime(params) {
        return command({
            method: 'getDryingRemainingTime',
            methodId: 'UsRc3469',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDryingTemperature(params) {
        return command({
            method: 'getDryingTemperature',
            methodId: 'UHww1ojI',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDryingTime(params) {
        return command({
            method: 'getDryingTime',
            methodId: 'U2eMbuaE',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getFlipLid(params) {
        return command({
            method: 'getFlipLid',
            methodId: 'UlyCXgGM',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getFlipRing(params) {
        return command({
            method: 'getFlipRing',
            methodId: 'UEqvf0sn',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getFlushGear(params) {
        return command({
            method: 'getFlushGear',
            methodId: 'UJTjRPRm',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getFlushMode(params) {
        return command({
            method: 'getFlushMode',
            methodId: 'UiWTgmn5',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getNozzleSelfCleaning(params) {
        return command({
            method: 'getNozzleSelfCleaning',
            methodId: 'UCb2EkDW',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSeatCurrentTemperature(params) {
        return command({
            method: 'getSeatCurrentTemperature',
            methodId: 'pqYwmPPS',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSeatTemperature(params) {
        return command({
            method: 'getSeatTemperature',
            methodId: 'pNnZFmdL',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSeated(params) {
        return command({
            method: 'getSeated',
            methodId: 'UaMCoOFx',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSwitch(params) {
        return command({
            method: 'getSwitch',
            methodId: 'UfjZW1Tz',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWashGear(params) {
        return command({
            method: 'getWashGear',
            methodId: 'U5suMqlR',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWashMode(params) {
        return command({
            method: 'getWashMode',
            methodId: 'U9Km7bCo',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWashPosition(params) {
        return command({
            method: 'getWashPosition',
            methodId: 'UODeNjhb',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWashRemainingTime(params) {
        return command({
            method: 'getWashRemainingTime',
            methodId: 'URPrtxS1',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWashTemperature(params) {
        return command({
            method: 'getWashTemperature',
            methodId: 'UvxDiyzq',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWashTime(params) {
        return command({
            method: 'getWashTime',
            methodId: 'U8OTOiqk',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAutoFlipLid(params) {
        return command({
            method: 'setAutoFlipLid',
            methodId: 'pUPQ5S8E',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAutoFlipRing(params) {
        return command({
            method: 'setAutoFlipRing',
            methodId: 'ppAXwL4I',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setDeodorization(params) {
        return command({
            method: 'setDeodorization',
            methodId: 'pBTQTK9r',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setDisinfect(params) {
        return command({
            method: 'setDisinfect',
            methodId: 'pZgR0VH9',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setDryingTemperature(params) {
        return command({
            method: 'setDryingTemperature',
            methodId: 'p3delsDw',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setDryingTime(params) {
        return command({
            method: 'setDryingTime',
            methodId: 'pkpDnuTU',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setFlipLid(params) {
        return command({
            method: 'setFlipLid',
            methodId: 'p0cr8MaA',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setFlipRing(params) {
        return command({
            method: 'setFlipRing',
            methodId: 'pz93I4jC',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setFlushGear(params) {
        return command({
            method: 'setFlushGear',
            methodId: 'pj7xj5GZ',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setFlushMode(params) {
        return command({
            method: 'setFlushMode',
            methodId: 'pXZuHlod',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setNozzleSelfCleaning(params) {
        return command({
            method: 'setNozzleSelfCleaning',
            methodId: 'ptRSCYCm',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSeatTemperature(params) {
        return command({
            method: 'setSeatTemperature',
            methodId: 'peH3AFBz',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSwitch(params) {
        return command({
            method: 'setSwitch',
            methodId: 'pdN7PDeP',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWashGear(params) {
        return command({
            method: 'setWashGear',
            methodId: 'phEqdcS5',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWashMode(params) {
        return command({
            method: 'setWashMode',
            methodId: 'pgh0vbql',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWashPosition(params) {
        return command({
            method: 'setWashPosition',
            methodId: 'pGoxs3Fn',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWashTemperature(params) {
        return command({
            method: 'setWashTemperature',
            methodId: 'p1vFcGKM',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWashTime(params) {
        return command({
            method: 'setWashTime',
            methodId: 'pDrhJxzK',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }
}

export default SmartToilet;
